package com.sc.nft.entity.req;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author 刘国航
 * @desc
 * @since 2024/11/27 10:54
 */
@Data
public class DaoPledgeProduceCreateRequest implements Serializable {

    private static final long serialVersionUID = 8501438950393078004L;

    @ApiModelProperty("批次")
    @NotNull(message = "批次不能为空")
    @Min(value = 1, message = "批次必须大于0")
    private Integer batch;

    @ApiModelProperty("产出奖品")
    @NotNull(message = "产出奖品不能为空")
    private Long propId;

    @ApiModelProperty("产出数量")
    @NotNull(message = "产出数量不能为空")
    @Min(value = 1, message = "产出数量必须大于0")
    private Integer productNumber;

}
